package cn.school.hotel.dao;

import cn.school.hotel.entity.TripComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TripHotelCommentDao {
    List<TripComment> getCommentList(@Param("comment") TripComment comment, @Param("startNum") Integer startNum, @Param("pageSize") Integer pageSize);

    int getCommentListCount(TripComment comment);
}
